import Vue from "vue";
import App from "./App.vue";
import VueApollo from "vue-apollo";
import defaultClient from "./gql-client";
import { configure } from "mobx";

configure({ enforceActions: "always" });

Vue.config.productionTip = false;

const apolloProvider = new VueApollo({
  defaultClient,
});

Vue.use(VueApollo);

new Vue({
  apolloProvider,
  render: h => h(App)
}).$mount("#app");
